<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>事件修饰符</title>
    <script src="./js/vue.js"></script>
</head>
<body>
<div id="app">
    <p @mousemove="mm">
        x:{{x}}
        y:{{y}}
        <span @mousemove.stop> 鼠标移入这里停止</span>
    </p>
</div>

<script>
    new Vue({
        el: "#app",
        data:{
            x:0,
            y:0,
            manager : "aaa"
        },
        methods : {
            mm: function (event) {
                this.x  = event.clientX;
                this.y = event.clientY;
            },
            stopm: function (event) {
              event.stopPropagation();
            }
        }
    });
</script>
</body>
</html>